package com.fly.snailrun.domain.dto;

import com.fly.snailrun.utils.JianYinUtil;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;

@Data
public class Segment {
    private String id = JianYinUtil.getId();
    @JsonProperty("source_timerange")
    private RangeBase sourceTimeRange;

    @JsonProperty("target_timerange")
    private RangeBase targetTimeRange;
    @JsonProperty("material_id")
    private String materialId;
    @JsonProperty("extra_material_refs")
    private List<String> extraMaterialRefs;
}
